package me.send.produce.client.controller;

import me.send.business.service.service.RedService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value="red")
public class RedController {

	@Autowired
	private RedService redService;
	
	@RequestMapping(value="beach/save")
	@ResponseBody
	public int[] beach_save(int count, int popid,int redtypeid){
		return redService.beach_save(count, popid, redtypeid);
	}
}
